package com.kh.statistics.video.core;

import com.kh.statistics.video.entity.StatisticsInfo;
import com.kh.statistics.video.entity.StatisticsMeta;

import java.util.List;

/**
 * @ClassName Platform
 * @Description TODO
 * @Author konghong1
 * @Date 2024/5/7 21:59
 * @Version 1.0
 **/
public interface Platform {

    String support();

    List<StatisticsInfo> getInfo(StatisticsMeta statisticsMeta);

    /**
     * 统计总数据
     *
     * @param list
     */
    void statistics(List<StatisticsMeta> list);

    /**
     * 统计单个账号数据
     *
     * @param statisticsMetaList
     */
    void oneStatistics(List<StatisticsMeta> statisticsMetaList, MediaContext mediaContext);

    /**
     * 处理响应
     *
     * @param body
     * @return
     */
    boolean handlerResponse(String body);
}
